package cn.tedu.cinema.scheduling.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Scheduling {
    @ApiModelProperty(value = "排片id")
    private Long id;
    @ApiModelProperty(value = "电影id")
    private Long movieId;
    @ApiModelProperty(value = "影厅id")
    private Long hallId;
    @ApiModelProperty(value = "影院id")
    private Long cinemaId;
    @ApiModelProperty(value = "放映时间id")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    @ApiModelProperty(value = "播放时长")
    private String duration;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "备注")
    private String notes;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApiModelProperty(value = "电影名称")
    private String movieName;
}
